From: Lars Magne Ingebrigtsen Date: Thu, 21 Oct 2010 20:12:38 +0000 (+0200) Subject: * newcomment.el (comment-dwim): Fix the intentation in the doc string. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~6011 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=3d31feffc9d213660909d0f859eb60b04ea7ec9a;p=emacs.git * newcomment.el (comment-dwim): Fix the intentation in the doc string. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 04d15914faa..cf7313fb20b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2010-10-21 Lars Magne Ingebrigtsen + + * newcomment.el (comment-dwim): Fix the intentation in the doc + string. + 010-10-21 Michael Albinus * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use diff --git a/lisp/newcomment.el b/lisp/newcomment.el index 8daf24d549f..de6b2474e21 100644 --- a/lisp/newcomment.el +++ b/lisp/newcomment.el @@ -1164,8 +1164,8 @@ is passed on to the respective function." (defun comment-dwim (arg) "Call the comment command you want (Do What I Mean). If the region is active and `transient-mark-mode' is on, call - `comment-region' (unless it only consists of comments, in which - case it calls `uncomment-region'). +`comment-region' (unless it only consists of comments, in which +case it calls `uncomment-region'). Else, if the current line is empty, call `comment-insert-comment-function' if it is defined, otherwise insert a comment and indent it. Else if a prefix ARG is specified, call `comment-kill'.